﻿using UnityEngine;
using System;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;

public class PollutionProcessor : Building
{

	public PollutionProcessor()
	{
		this.Name = GameEnums.Facilities.PollutionProcessor;
		this.DispName = Utility.SplitName(this.Name.ToString());
		this.MotherTech = new GameEnums.TechName[] { GameEnums.TechName.PollutionProcessor };
	}
	
	public PollutionProcessor(bool getID) : this()
	{
		FacilityID = ++Galaxy.FacilitySerial;
		Core.Buildings.Add(FacilityID, this);
	}

	public PollutionProcessor(Planet pl)
	{
		Planet = pl;
	}

	public override void OnTurn()
	{
		base.OnTurn();


	}

	public override void OnTurn(Planet pl)
	{
		base.OnTurn(pl);

		Planet = pl;
		this.OnTurn();
	}
}